<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cadastro de Despesas</title>
</head>
<body>
<table width="200" border="1">
  <form action="" method="post" name="cadDesp" onSubmit="return validateCheckedBox()">
    <input type="hidden" name="op" value="activate">
    <tr>
      <td colspan="7" align="right"><input type="submit" value="Ok">
        <input type="button" value="Cancel" onClick="javascript:window.close();" />
      </td>
    </tr>
    <tr>
      <th scope="col">Id</th>
      <th scope="col">Despesa</th>
      <th scope="col">Valor</th>
      <th scope="col">Tipo</th>
      <th scope="col">Data</th>
      <th scope="col">Parcela</th>
      <th scope="col">&nbsp;</th>
    </tr>
    <tr>
      <td colspan="7">&nbsp;</td>
    </tr>
    <c:forEach var="part" items="${lista}">
      <tr>
        <td align="center">${part.participant_id}</td>
        <td align="center">${part.last_name}</td>
        <td align="center">${part.email}</td>
        <td align="center">${part.email_status}</td>
        <td align="center">${part.email_status}</td>
        <td align="center">${part.email_status}</td>
        <td align="center"><input type="checkbox" name="paramId" value="${part.participant_id}"></td>
      </tr>
    </c:forEach>
  </form>
</table>
</body>
</html>
